package com.freeter.modules.category.entity.view;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import com.freeter.modules.category.entity.CategoryEntity;

import org.springframework.beans.BeanUtils;

import java.io.Serializable;
import java.util.Map;

/**
 * 分类表
 * 
 *
 *
 * @date 2018-05-22 15:46:31
 * @author JerryLi
 */
@Data
@ApiModel(value = "Category")
public class CategoryView implements Serializable {
	private static final long serialVersionUID = 1L;

	public CategoryView() {
	}

	public CategoryView(CategoryEntity categoryEntity) {
		BeanUtils.copyProperties(this, categoryEntity);
	}

	private Long categoryId;
	private String categoryName;
	/**
	 * SEO 参数
	 */
	private Map<String, Object> seoMsg;

}
